.Net Framework > v2.0.50727 > System > Web > UI > HtmlTextWriter > AddAttribute AddAttribute(String,String)
AddAttribute(String,String,Boolean)
AddAttribute(String,String,HtmlTextWriterAttribute)
AddAttribute(HtmlTextWriterAttribute,String)
AddAttribute(HtmlTextWriterAttribute,String,Boolean)


AddAttribute(String,String)

Category
Method
Description
Adds the specified markup attribute and value to the opening tag of the element that the System.Web.UI.HtmlTextWriter object creates with a subsequent call to the System.Web.UI.HtmlTextWriter.RenderBeginTag method.
Type
void
Character
public
Parameters
NameTypeDescription
nameString
valueString
Tags
01892ABD01, 02E3ABA98D, 0376596F91

AddAttribute(String,String,Boolean)

Category
Method
Description
Adds the specified markup attribute and value to the opening tag of the element that the System.Web.UI.HtmlTextWriter object creates with a subsequent call to the System.Web.UI.HtmlTextWriter.RenderBeginTag method, with optional encoding.
Type
void
Character
public
Parameters
NameTypeDescription
nameString
valueString
fEndodeBoolean
Tags
01892ABD01, 02E3ABA98D, 0376596F91

AddAttribute(String,String,HtmlTextWriterAttribute)

Category
Method
Description
Adds the specified markup attribute and value, along with an System.Web.UI.HtmlTextWriterAttribute enumeration value, to the opening tag of the element that the System.Web.UI.HtmlTextWriter object creates with a subsequent call to the System.Web.UI.HtmlTextWriter.RenderBeginTag method.
Type
void
Character
family
Parameters
NameTypeDescription
nameString
valueString
keyHtmlTextWriterAttribute
Tags
01892ABD01, 02E3ABA98D, 0376596F91

AddAttribute(HtmlTextWriterAttribute,String)

Category
Method
Description
Adds the markup attribute and the attribute value to the opening tag of the element that the System.Web.UI.HtmlTextWriter object creates with a subsequent call to the System.Web.UI.HtmlTextWriter.RenderBeginTag method.
Type
void
Character
public
Parameters
NameTypeDescription
keyHtmlTextWriterAttribute
valueString
Tags
01892ABD01, 02E3ABA98D, 0376596F91

AddAttribute(HtmlTextWriterAttribute,String,Boolean)

Category
Method
Description
Adds the markup attribute and the attribute value to the opening tag of the element that the System.Web.UI.HtmlTextWriter object creates with a subsequent call to the System.Web.UI.HtmlTextWriter.RenderBeginTag method, with optional encoding.
Type
void
Character
public
Parameters
NameTypeDescription
keyHtmlTextWriterAttribute
valueString
fEncodeBoolean
Tags
01892ABD01, 02E3ABA98D, 0376596F91

Software for developers
.Net Components
Delphi Components
Software for Android Developers
More information resources
WinAPI Programmer's Reference
Unix Manual Pages
Delphi Examples
Databases for Amazon shops developers
Amazon Categories Database
Browse Nodes Database